package com.moniteach.server.db.bo;

import javax.jdo.annotations.IdGeneratorStrategy;
import javax.jdo.annotations.PersistenceCapable;
import javax.jdo.annotations.Persistent;
import javax.jdo.annotations.PrimaryKey;

@PersistenceCapable
public class Table {
	@PrimaryKey
	@Persistent(valueStrategy = IdGeneratorStrategy.IDENTITY)
	private Long id;

	@Persistent
	private Long group;

	@Persistent
	private Long predmet;

	public Long getId() {
		return id;
	}

	public void setId(Long id) {
		this.id = id;
	}

	public Long getGroup() {
		return group;
	}

	public void setGroup(Long group) {
		this.group = group;
	}

	public Long getPredmet() {
		return predmet;
	}

	public void setPredmet(Long predmet) {
		this.predmet = predmet;
	}

	public Table(Long group, Long predmet) {
		super();
		this.group = group;
		this.predmet = predmet;
	}

}
